package com.imon.web.codesphere;

import java.util.List;

import difflib.DiffRow;

public class DiffData {

	private final long oldRevision;
	private final long revision;
	private String path;
	private final List<DiffRow> diffRows;

	public DiffData(final long anOldRevision, final long aNewRevision, final List<DiffRow> diffs) {
		this.oldRevision = anOldRevision;
		this.revision = aNewRevision;
		diffRows = diffs;
	}

	public long getOldRevision() {
		return oldRevision;
	}

	public long getRevision() {
		return revision;
	}

	public void setFilePath(final String aPath) {
		this.path = aPath;
	}

	public String getFilePath() {
		return this.path;
	}

	public List<DiffRow> getDiffRows() {
		return this.diffRows;
	}

}
